package com.maxmlr.concurrent.cyclic;

/**
 * @ClassName Message
 * @Description TODO
 * @Author maxiao
 * @Date 2020/3/5 上午11:27
 * @Version V1.0
 */
public class Message {

    public String key;

    public String code;

    public String value;



    public boolean flag(){
        return "000".equals(code);
    }

    @Override
    public String toString() {
        return "key:" + key + ",code:" + code + ",value:" + value;
    }
}
